﻿using System.Collections.Generic;
using System.ServiceModel;

namespace ImManager.Contract.Interface
{
    [ServiceContract]
    internal interface IInternetmManagerService
    {
        [OperationContract]
        List<Courses_Courses> GetAllCourses();

        [OperationContract]
        Courses_Courses GetCourseByID(int courseID);

        [OperationContract]
        bool InsertCourse(Courses_Courses course);

        [OperationContract]
        bool DeleteCourse(int courseId);

        [OperationContract]
        bool UpdateCourse(Courses_Courses course);
    }
}